package game.model;

import java.util.ArrayList;
import java.util.List;

public class Room {
	
	public enum RoomName
	{
		HALL("HALL") , STUDY("STUDY") , LIBRARY("LIBRARY")  , BILLIARD_ROOM("BILLIARD ROOM") , CONSERVATORY("CONSERVATORY") , 
		BALLROOM("BALLROOM") , KITCHEN("KITCHEN") , DINING_ROOM("DINING ROOM") , LOUNGE("LOUNGE");
		
		private final String roomName;
		
		private RoomName (String roomName) 
		{
			this.roomName = roomName;
		}
		
		public String getRoomName ()
		{
			return roomName;
		}
	}

	private String roomName;
	private List <Weapon> weapons = new ArrayList <Weapon> ();
	private List <Suspect> suspects = new ArrayList <Suspect> ();
	
	public Room (String roomName)
	{
		this.roomName = roomName;
	}
	
	public String getRoomName ()
	{
		return roomName;
	}
	
	public void setRoomName (String roomName)
	{
		this.roomName = roomName;
	}
	
	public void addWeapon (Weapon weapon)
	{
		weapons.add(weapon);
	}
	
	public void removeWeapon (Weapon weapon)
	{
		weapons.remove(weapon);
	}
	
	public void addSuspect (Suspect suspect)
	{
		suspects.add(suspect);
	}
	
	public void removeSuspect (Suspect suspect)
	{
		weapons.remove(suspect);
	}
	
}
